home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1996 April / Software of the Month Club 1996 April.iso / pc / utility / gi / shez / sample.ini < prev    next >
INI File  |  1996-02-21  |  13KB  |  210 lines

  1. ;********************************************************************
  2. ;            SHEZ User Initialization file                          *
  3. ;                 (SAMPLE FILE ONLY!!!!!)                           *
  4. ;                                                                   *
  5. ;            AFTER MODIFYING THIS FILE IT MUST                      *
  6. ;                    BE RENAME TO:                                  *
  7. ;                      SHEZ.INI                                     *
  8. ;            AND THEN COPIED TO A DIRECTORY THAT IS                 *
  9. ;                IN YOUR PATH STATEMENT.                            *
  10. ;                                                                   *
  11. ;                                                                   *
  12. ;FORMAT OF FILE:                                                    *
  13. ;  Each line must end with a Carriage return, Line feed.            *
  14. ;  Everything to the right of a semicolon treated as comments.      *
  15. ;                                                                   *
  16. ;  External viewer programs are specified as follows:               *
  17. ;     EXT = PROGRAM                                                 *
  18. ;  WHERE ext      is the file extension (DO NOT ENTER THE PERIOD!)  *
  19. ;        program  is the program to execute based on the selected   *
  20. ;                 file extension.                                   *
  21. ;                 $f indicates to SHEZ where to place the filename  *
  22. ;                    when executing the program.                    *
  23. ;EXAMPLE:                                                           *
  24. ; C=E:\UTY\QEDIT.EXE $F                                             *
  25. ;                                                                   *
  26. ; If the highlighted file in SHEZ is HELP.C then SHEZ will          *
  27. ; attempt to execute E:\UTY\QEDIT.EXE HELP.C                        *
  28. ;                                                                   *
  29. ;********************************************************************
  30. ;                     ADVANCED FEATURES                             *
  31. ;                                                                   *
  32. ;SPECIFYING A STARTUP DIRECTORY:                                    *
  33. ;  To tell SHEZ to change to a specific directory before running    *
  34. ;  the specified external file viewer use the vertical bar          *
  35. ;  character to separate the startup directory name from the        *
  36. ;  viewer command as shown below:                                   *
  37. ;                                                                   *
  38. ;GIF=E:\GIF\VPIC.EXE $F|G:\GIF\VPIC                                 *
  39. ;                                                                   *
  40. ;                                                                   *
  41. ;TELLING SHEZ TO PAUSE AFTER RUNNING THE VIEWER:                    *
  42. ;  SHEZ can pause before returning to itself allowing you to        *
  43. ;  view the contents of the screen after the external viewer        *
  44. ;  has been executed. This is accomplished by placing the ~         *
  45. ;  character immediately after the equal sign.                      *
  46. ;                                                                   *
  47. ;GIF=~E:\GIF\VPIC.EXE $F|G:\GIF\VPIC                                *
  48. ;                                                                   *
  49. ;                                                                   *
  50. ;********************************************************************
  51.  
  52.  
  53.  
  54.  
  55. [External Viewers]     ;THIS IS A REQUIRED ENTRY, TELLS SHEZ WHERE
  56.                        ;THE EXTERNAL VIEWER DATA BEGINS
  57.  
  58. generic=list.com $f    ;This is a generic viewer it will be executed if
  59.                        ;the highlighted file's extension is not specified,
  60.                        ;or there is no file extension.
  61.  
  62. H  =Q.EXE $f           ;Run q.exe for file with .h  extension
  63.  
  64. DOC=E.EXE $f           ;Run e.exe for file with .doc extension
  65.  
  66. WP =WPVIEW.EXE $F      ;Run wpview.exe for file with .wp extension
  67.  
  68. C=E.EXE $F             ;Run e.exe for file with .c extension
  69.  
  70.  
  71.  
  72. ;********************************************************************
  73. ;                  SETTING UP PRINTERS                              *
  74. ;                                                                   *
  75. ;Up to three user defined printers can be defined.  Each printer    *
  76. ;definition requires it's own section name.  The section name       *
  77. ;is: [PRINTERx]  where x is 1,2, or 3.                              *
  78. ;Each printer section must have the following keyword defined:      *
  79. ;                                                                   *
  80. ;NAME                                                               *
  81. ;   user defined name of printer (25 characters or less)            *
  82. ;SETUP                                                              *
  83. ;   printer setup string                                            *
  84. ;CHARS-PER-LINE                                                     *
  85. ;   maximum number of characters per line                           *
  86. ;LINE-PER-PAGE                                                      *
  87. ;   maximum number of lines per page                                *
  88. ;ENDUP                                                              *
  89. ;   printer endup string (THIS IS OPTIONAL)                         *
  90. ;                                                                   *
  91. ;The printer SETUP and ENDUP strings can be up to 100 characters in *
  92. ;length.  The strings CAN NOT contain carriage return or line feed  *
  93. ;characters.  If these must be included in the string use the $     *
  94. ;character to enter their HEX equivalent.  I.E. a carriage return   *
  95. ;would be entered as $0d. The $ character indicates to SHEZ that the*
  96. ;next two characters are to be interpreted as HEX.  For example to  *
  97. ;enter the ASCII ESC character into the setup string use the        *
  98. ;following in your string: $1b.                                     *
  99. ;                                                                   *
  100. ;Each printer definition can also optionally use the PORT keyword   *
  101. ;to define which LPT port use.  If the PORT keyword is used the     *
  102. ;only valid values are LPT1 through LPT9. If the PORT keyword is    *
  103. ;not used SHEZ will then use the LPT port as defined in the SHEZCFG *
  104. ;program.                                                           *
  105. ;EXAMPLE: to print to port 3:                                       *
  106. ;PORT=LPT3                                                          *
  107. ;********************************************************************
  108.  
  109.  
  110. [Printer1]             ;HPLASER II-IV portrait compressed
  111. name=HP-port-compress
  112. setup=$1bE$1b(10U$1b(s16.6H$1b&l8D
  113. endup=$1bE
  114. chars-per-line=132
  115. lines-per-page=80
  116.  
  117. [Printer2]             ;HPLASER II-IV landscape compressed
  118. name=HP-land-compress
  119. setup=$1bE$1b&l1O$1b(10U$1b(s16.6H$1b&l8D
  120. endup=$1bE
  121. chars-per-line=174
  122. lines-per-page=64
  123.  
  124.  
  125. ;******************************************************************
  126. ;                         SETTING UP USER MENUS                   *
  127. ;                                                                 *
  128. ;Up to 20 user defined menu items may be defined in this section. *
  129. ;Each menu item MUST have a NAME parameter and a PROGRAM parameter*
  130. ;defined. The NAME parameter is the text that will appear drop    *
  131. ;down menu when the uSer menu option is selected.  The PROGRAM    *
  132. ;parameter defines what program or batch file will be executed    *
  133. ;when the item is selected. The rules for defining these two      *
  134. ;keyword parameters are as follows:                               *
  135. ;                                                                 *
  136. ;NAME                                                             *
  137. ;  User defined text of 25 characters or less. This text will     *
  138. ;  appear on the drop down menu.                                  *
  139. ;                                                                 *
  140. ;PROGRAM                                                          *
  141. ;  The program or batch file to execute when the selection is     *
  142. ;  chosen.                                                        *
  143. ;                                                                 *
  144. ;                                                                 *
  145. ;SPECIFYING A STARTUP DIRECTORY:                                  *
  146. ;   To tell SHEZ to change to a specific directory before running *
  147. ;   the specified user program use the vertical bar character to  *
  148. ;   separate the startup directory name from the program/batch    *
  149. ;   file to execute as shown below:                               *
  150. ;                                                                 *
  151. ;   PROGRAM=E:\GIF\VPIC.EXE|G:\GIF\VPIC                           *
  152. ;                                                                 *
  153. ;                                                                 *
  154. ;TELLING SHEZ TO PAUSE AFTER RUNNING A PROGRAM                    *
  155. ;   SHEZ can pause before returning to itself allowing you to view*
  156. ;   the contents of the screen after the program has been         *
  157. ;   executed. This is accomplished by placing the ~ character     *
  158. ;   immediately after the equal sign.                             *
  159. ;                                                                 *
  160. ;   PROGRAM=~E:\GIF\VPIC.EXE|G:\GIF\VPIC                          *
  161. ;                                                                 *
  162. ;PASSING A FILE TO A USER DEFINED PROGRAM                         *
  163. ;   By using the $f variable when defining the PROGRAM to execute *
  164. ;   you can pass the currently highlighted filename to an external*
  165. ;   program.  The $f tell SHEZ where to place the filename when   *
  166. ;   launching a user specified program.                           *
  167. ;                                                                 *
  168. ;   Two other variables can also be used, the $a and $m variable. *
  169. ;   These variables only have meaning if you launched a user menu *
  170. ;   item when selecting a member of a compressed file. The $a     *
  171. ;   variable will be replaced with the full compressed filename,  *
  172. ;   and the $m variable will be replaced with the name of the     *
  173. ;   selected member within the compressed file. For example: If   *
  174. ;   you are looking the contents of compressed file               *
  175. ;   D:\DOWN\SHEZXX.ZIP the highlighted item is SHEZ.EXE then the  *
  176. ;   $a variable will be replaced with D:\DOWN\SHEZXX.ZIP and the  *
  177. ;   $m variable will be replaced with SHEZ.EXE.                   *
  178. ;                                                                 *
  179. ;   The $f will also work when viewing the contents of a          *
  180. ;   compressed file. When viewing the contents of a compressed    *
  181. ;   file, if the $f characters are defined in the PROGRAM         *
  182. ;   specification, the highlighted file is extracted to a work    *
  183. ;   directory and the user program is launched. When the user     *
  184. ;   program is exited, SHEZ will then check the extracted works   *
  185. ;   file's time and date stamp.  If the work file was updated SHEZ*
  186. ;   will REFRESH the copy of the file in the compressed file.     *
  187. ;                                                                 *
  188. ;   THERE ARE FIVE ADDITIONAL VARIABLES THAT CAN BE USED.         *
  189. ;   $CD will be replaced by the current drive, including the      *
  190. ;       colon.  I.E.  D:                                          *
  191. ;   $CP will be replaced by the current path, including the       *
  192. ;       trailing backslash.  I.E. \UTILITY\                       *
  193. ;   $ED will be replaced by the extract drive, including the      *
  194. ;       colon.  I.E. D:                                           *
  195. ;   $EP will be replaced by the extract path, including the       *
  196. ;       trailing backslash.  I.E. \EXTRACT\                       *
  197. ;   $?  will tell SHEZ to prompt the user for the information     *
  198. ;       to replace.                                               *
  199. ;                                                                 *
  200. ;******************************************************************
  201.  
  202. [User-menu]
  203. Name=WordPerfect 5.1
  204. Program=E:\APPS\WP51\WP.EXE /nk|E:\APPS\WP51
  205.  
  206. Name=WordPerfect 5.1 (pass file)
  207. Program=E:\APPS\WP51\WP.EXE $f /nk|E:\APPS\WP51
  208.  
  209. Name=WordPerfect 6.0
  210. Program=U:\WP60\WP.EXE /nk|U:\WP60